<template>
  <transition
    enter-to-class="animate__animated animate__fadeInRight"
    enter-active-class="animate__animated animate__fadeInRight"
    leave-to-class="animate__animated animate__fadeOutDown"
    leave-active-class="animate__animated animate__fadeOutDown"
  >
    <div class="web-address">
      <app-return></app-return>
      <div class="form">
        <input type="text" placeholder="附加信息..." />
      </div>
      <div class="address-box">
        <button><span>💧</span>添加位置</button>
      </div>
    </div>
  </transition>
</template>

<script>
import AppReturn from "@/components/app-return.vue";
export default {
  name: "Address",
  components: {
    AppReturn,
  },
};
</script>

<style lang="less" scoped>
.web-address {
  box-sizing: border-box;
  padding: 50px 15px 0;
  .form {
    width: 100%;
    height: 40px;
    margin-bottom: 30px;
    input {
      width: 100%;
      height: 100%;
      font-size: 16px;
    }
  }
  .address-box {
    width: 100%;
    border-radius: 15px;
    border: 1px solid #ccc;
    height: 70px;
    overflow: hidden;
    button {
      width: 100%;
      height: 100%;
      background-color: transparent;
      font-size: 15px;
      position: relative;
      span {
        position: absolute;
        left: 110px;
        top: 23px;
        font-size: 16px;
        transform: rotateZ(180deg);
      }
    }
  }
}
</style>